package org.nobody.mallb2c.mallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nobody.common.utils.PageUtils;
import org.nobody.mallb2c.mallware.entity.PurchaseEntity;
import org.nobody.mallb2c.mallware.vo.MergeVo;
import org.nobody.mallb2c.mallware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author fancier
 * @email fancier2093@gmail.com
 * @date 2020-07-30 15:47:39
 */
public interface PurchaseService extends IService<PurchaseEntity> {

  PageUtils queryPage(Map<String, Object> params);

  PageUtils queryPageUnreceived(Map<String, Object> params);

  void mergePurchase(MergeVo mergeVo);

  void received(List<Long> ids);

  void done(PurchaseDoneVo doneVo);
}

